package com.jd.finance.oss.task;

import com.jd.finance.oss.model.OssObject;
import com.jd.finance.oss.model.User;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;

/**
 * 描述:异步线程任务
 */
@Component
public interface AsyncTask {
    @Async
    void uploadObjectsOriginalAsync(InputStream inputStream, MultipartFile multipartFile, OssObject ossObjectCompress, String bizType, User user, long id);
}
